﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KCMS.DataAcsess.Entitys
{
    public partial class PhotoEntity:Entity
    {
        public override Guid Id { get; set; }
        public String Title { get; set; }
        public String Description { get; set; }
        public String Code { get; set; }
        public Guid PhotoCategoryId { get; set; }
        public Guid ImageId { get; set; }
        public Guid ThumbImageId { get; set; }
        public void CopyPropyties(PhotoEntity photo)
        {
            this.Id = photo.Id;
            this.Title = photo.Title;
            this.Description = photo.Description;
            this.Code = photo.Code;
            this.PhotoCategoryId = photo.PhotoCategoryId;
            this.ImageId = photo.ImageId;
            this.ThumbImageId = photo.ThumbImageId;
        }
    }
}
